<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <!-- <script src="./js/vue.js"></script>

    <div id="app" class="div">
        <h1>{{msg}}</h1>
        <h1>{{num+10}}</h1>
        <h2>{{num==10?'相等':'不相等'}}</h2>
        <h2>{{arr.sort()}}</h2>
    </div>

    <script>
        let vm = new Vue({
            el: '#app',
            data: {
                msg: 'hello vue 我来了',
                num: 10,
                arr: [3, 2, 1]
            }
        })
    </script> -->































    <script src="./js/vue.js"></script>

    <div id="app" class="div">
        <h1>{{msg}}</h1>
        <h1>{{num+10}}</h1>
        <h2>{{num==10?'相等':'不相等'}}</h2>
        <h2>{{arr.sort()}}</h2>
    </div>

    <script>
        let vm = new Vue({
            el: '#app',
            data: {
                msg: 'hello vue 我来了',
                num: 10,
                arr: [3, 2, 1]
            }
        })
    </script>
</body>

</html>